package com.ebao.listener;

import javax.servlet.ServletContext;
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;

public class OnlineListener implements ServletContextListener {

	private ServletContext servletContext;
	
	@Override
	public void contextDestroyed(ServletContextEvent sce) {
		System.out.println("后台   OnlineListener --> 监听注销");
		
	}

	@Override
	public void contextInitialized(ServletContextEvent sce) {
		System.out.println("后台   OnlineListener --> 监听初始化启动");
		servletContext = sce.getServletContext();
		
		
		
	}


}
